#include <stdio.h>

//function main 
int main(int argc, char **argv){
  //declare local variables
  const int size = 4;
  float scoreArray[size];
  int i;
 
  //read score array  
  printf("Enter score data:\n");
  for(i=0; i<size; i++){
    printf("Score[%d]:", i+1 );
    scanf("%f", &scoreArray[i]); 
  }

  //print score array in reverse order
  printf("The scores in reverse order are: \n");
  for(i=size-1; i>=0; i--){
    printf("%.2f\n", scoreArray[i]); 
  }
  
  return 0;
}

